package com.kokos.dao.user;


import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import com.kokos.dao.AbstractDAOFacade;
import com.kokos.entities.user.UserGroup;


@Stateless(name = "UserGroupDAO")
public class UserGroupDAOFacade extends AbstractDAOFacade<UserGroup> implements
		UserGroupDAOFacadeLocal {

	@PersistenceContext(unitName = "KokosEJB")
	private EntityManager em;

	protected EntityManager getEntityManager() {
		return em;
	}

	public UserGroupDAOFacade() {
		super(UserGroup.class);
	}

}